package com.wissen.containment;
/**
 * @author wissen16
 * class Teacher having number & name attributes and show methods 
 */
public class Teacher {
	private int t_no;
	private String tname;
	/**
	 * 
	 * @param t teacher id
	 * @param name teacher name
	 * constructor to initiate state 
	 */
	Teacher(int t,String name) {
		t_no=t;
		tname=name;
	}
	/**
	 * this mathod to show state inforamtion
	 */
	public void Show(){
	System.out.println("Teacher_id="+t_no+"\nTeacher Name="+tname);
	}	
}
